package com.v5ba.runner;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * @author yiren
 * @since 2022/6/24
 */
@Component
public class MyApplicationRunner1 implements ApplicationRunner {
    @Override
    public void run(ApplicationArguments args) throws Exception {
        Thread.sleep(2000);
        System.out.println("MyApplicationRunner1");
    }
}
